import {Component, EventEmitter,ViewChild, Input, OnInit, Output} from '@angular/core';
import {Router} from '@angular/router';
import {HttpClient} from '@angular/common/http';
import { InitService } from '../../../public/serve/init/init.service';
import { appTemplateUrl } from '../template.url';
import { template } from '../template.data';
import { RemoveTableService } from '../../../public/serve/remove-table/remove-table.service';
import { Service } from '../../../server/server';
import { HintsService } from '../../../public/serve/hints/hints.service';
import { CudTableService } from '../../../public/serve/cud-table/cud-table.service';
import {MessageService} from 'primeng/api';
declare var $: any;

@Component({
  selector: 'app-template-path-details',
  templateUrl: './template-path-details.component.html',
  styleUrls: ['./template-path-details.component.css']
})
export class TemplatePathDetailsComponent implements OnInit {

  @Output() onSubmit = new EventEmitter<void>();

  details: object = {};

  constructor(
    private server: Service,
    public initService: InitService,
    private request: CudTableService,
    private hintsService: HintsService
  ) { }

  ngOnInit() {
  }

  /**
   * 详情
   */
  _details(info: object){
    this.details = info;
  }

}
